Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix fresh subprocesses and allow duplicate register config calls for the core set only #3237

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

gaborbernat
Copy link
Member

@gaborbernat gaborbernat commented Mar 6, 2024

Resolves #3235.

@gaborbernat gaborbernat force-pushed the fix-fresh-subprocess branch 2 times, most recently from c73bf7a to 4194c3d Compare March 6, 2024 18:38
@gaborbernat gaborbernat self-assigned this Mar 6, 2024
@gaborbernat gaborbernat merged commit 969fbec into tox-dev:main Mar 6, 2024
25 checks passed
@gaborbernat gaborbernat deleted the fix-fresh-subprocess branch March 6, 2024 18:52
welpaolo referenced this pull request in canonical/spark-k8s-toolkit-py Apr 8, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [mypy](https://www.mypy-lang.org/)
([source](https://togithub.com/python/mypy),
[changelog](https://mypy-lang.blogspot.com/)) | `1.8.0` -> `1.9.0` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/mypy/1.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/mypy/1.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/mypy/1.8.0/1.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/mypy/1.8.0/1.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [pytest-mock](https://togithub.com/pytest-dev/pytest-mock)
([changelog](https://pytest-mock.readthedocs.io/en/latest/changelog.html))
| `3.12.0` -> `3.14.0` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/pytest-mock/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pytest-mock/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/pytest-mock/3.12.0/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pytest-mock/3.12.0/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [tox](https://togithub.com/tox-dev/tox)
([changelog](https://tox.wiki/en/latest/changelog.html)) | `4.13.0` ->
`4.14.2` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/tox/4.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/tox/4.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/tox/4.13.0/4.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/tox/4.13.0/4.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>python/mypy (mypy)</summary>

### [`v1.9.0`](https://togithub.com/python/mypy/compare/v1.8.0...1.9.0)

[Compare
Source](https://togithub.com/python/mypy/compare/v1.8.0...1.9.0)

</details>

<details>
<summary>pytest-dev/pytest-mock (pytest-mock)</summary>

###
[`v3.14.0`](https://togithub.com/pytest-dev/pytest-mock/blob/HEAD/CHANGELOG.rst#3140-2024-03-21)

[Compare
Source](https://togithub.com/pytest-dev/pytest-mock/compare/v3.13.0...v3.14.0)

- `#&#8203;415 <https://github.com/pytest-dev/pytest-mock/pull/415>`\_:
`MockType` and `AsyncMockType` can be imported from `pytest_mock` for
type annotation purposes.

- `#&#8203;420
<https://github.com/pytest-dev/pytest-mock/issues/420>`\_: Fixed a
regression which would cause `mocker.patch.object` to not being properly
cleared between tests.

###
[`v3.13.0`](https://togithub.com/pytest-dev/pytest-mock/blob/HEAD/CHANGELOG.rst#3130-2024-03-21)

[Compare
Source](https://togithub.com/pytest-dev/pytest-mock/compare/v3.12.0...v3.13.0)

- `#&#8203;417 <https://github.com/pytest-dev/pytest-mock/pull/417>`\_:
`spy` now has `spy_return_list`, which is a list containing all the
values returned by the spied function.
-   `pytest-mock` now requires `pytest>=6.2.5`.
- `#&#8203;410 <https://github.com/pytest-dev/pytest-mock/pull/410>`*:
pytest-mock's `setup.py` file is removed.
If you relied on this file, e.g. to install pytest using `setup.py
install`,
please see `Why you shouldn't invoke setup.py directly
<https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary>`*
for alternatives.

</details>

<details>
<summary>tox-dev/tox (tox)</summary>

### [`v4.14.2`](https://togithub.com/tox-dev/tox/releases/tag/4.14.2)

[Compare
Source](https://togithub.com/tox-dev/tox/compare/4.14.1...4.14.2)

<!-- Release notes generated using configuration in .github/release.yml
at 4.14.2 -->

#### What's Changed

- Removed unneeded line by
[@&#8203;reinout](https://togithub.com/reinout) in
[https://github.com/tox-dev/tox/pull/3241](https://togithub.com/tox-dev/tox/pull/3241)
- Add missing space by
[@&#8203;droctothorpe](https://togithub.com/droctothorpe) in
[https://github.com/tox-dev/tox/pull/3243](https://togithub.com/tox-dev/tox/pull/3243)
- Add Provision Arguments to ToxParser by
[@&#8203;seyidaniels](https://togithub.com/seyidaniels) in
[https://github.com/tox-dev/tox/pull/3246](https://togithub.com/tox-dev/tox/pull/3246)

#### New Contributors

- [@&#8203;reinout](https://togithub.com/reinout) made their first
contribution in
[https://github.com/tox-dev/tox/pull/3241](https://togithub.com/tox-dev/tox/pull/3241)
- [@&#8203;droctothorpe](https://togithub.com/droctothorpe) made their
first contribution in
[https://github.com/tox-dev/tox/pull/3243](https://togithub.com/tox-dev/tox/pull/3243)
- [@&#8203;seyidaniels](https://togithub.com/seyidaniels) made their
first contribution in
[https://github.com/tox-dev/tox/pull/3246](https://togithub.com/tox-dev/tox/pull/3246)

**Full Changelog**:
tox-dev/tox@4.14.1...4.14.2

### [`v4.14.1`](https://togithub.com/tox-dev/tox/releases/tag/4.14.1)

[Compare
Source](https://togithub.com/tox-dev/tox/compare/4.14.0...4.14.1)

<!-- Release notes generated using configuration in .github/release.yml
at 4.14.1 -->

#### What's Changed

- Fix fresh subprocesses and allow duplicate register config calls for
the core set only by
[@&#8203;gaborbernat](https://togithub.com/gaborbernat) in
[https://github.com/tox-dev/tox/pull/3237](https://togithub.com/tox-dev/tox/pull/3237)

**Full Changelog**:
tox-dev/tox@4.14.0...4.14.1

### [`v4.14.0`](https://togithub.com/tox-dev/tox/releases/tag/4.14.0)

[Compare
Source](https://togithub.com/tox-dev/tox/compare/4.13.0...4.14.0)

<!-- Release notes generated using configuration in .github/release.yml
at 4.14.0 -->

#### What's Changed

- Fix issue/PR number in 4.13.0 changelog by
[@&#8203;hroncok](https://togithub.com/hroncok) in
[https://github.com/tox-dev/tox/pull/3223](https://togithub.com/tox-dev/tox/pull/3223)
- Fix linkcheck failing by
[@&#8203;gaborbernat](https://togithub.com/gaborbernat) in
[https://github.com/tox-dev/tox/pull/3229](https://togithub.com/tox-dev/tox/pull/3229)
- Support fresh subprocess for build backends by
[@&#8203;gaborbernat](https://togithub.com/gaborbernat) in
[https://github.com/tox-dev/tox/pull/3233](https://togithub.com/tox-dev/tox/pull/3233)
- Allow plugins to attach data to --version by
[@&#8203;gaborbernat](https://togithub.com/gaborbernat) in
[https://github.com/tox-dev/tox/pull/3234](https://togithub.com/tox-dev/tox/pull/3234)

**Full Changelog**:
tox-dev/tox@4.13.0...4.14.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 1am and before 2am on saturday"
in timezone Etc/UTC, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/canonical/spark-k8s-toolkit-py).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@webknjaz
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash with fresh_subprocess=True and setuptools
2 participants